#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

int Str(char a[])
{
	char *p;
	p = a;
	int i = 0;
	while (*p != '\0') 
	{
		p++;
		i++;
	}
	return i;
}

int main() 
{
	char a[10];
	scanf("%s",a);
	printf("%d", Str(a));

}